import java.io.*;
import java.util.*;

public final class Cur
{
	public final static void main(String[] args)
	{
		new Cur();
	}
	
	public Cur()
	{
		try
		{
			File current = new File("./");
			List<String> ls = new ArrayList<String>();
			searchFolder(current, ls);
			
			for(String s:ls)
			{
				if(s.endsWith(".h"))
				{
					System.out.println("#import \"" + s + "\"");
				}
			}
		}
		catch(Exception e)
		{
			e.printStackTrace();
		}
	}
	
	public final void searchFolder(final File d, final List<String> ls)
	{
		File[] files = d.listFiles();
		for(File f : files)
		{
			if(f.isDirectory())
			{
				searchFolder(f,ls);
			}
			else
			{
				ls.add(f.getName());
			}
		}
	}
	
}